package warmachineroster.grapheditor.figure;

import org.eclipse.draw2d.ColorConstants;
import org.eclipse.draw2d.Figure;
import org.eclipse.draw2d.ToolbarLayout;

public class BattleGroupFigure extends Figure {

	public BattleGroupFigure(){
//		FlowLayout layout = new FlowLayout();
//		layout.setMinorAlignment(FlowLayout.ALIGN_LEFTTOP);
//		layout.setStretchMinorAxis(true);
//		layout.setHorizontal(false);
		ToolbarLayout layout = new ToolbarLayout();
		layout.setVertical(true);
		layout.setSpacing(5);
		layout.setStretchMinorAxis(true);
		setLayoutManager(layout);
		setBackgroundColor(ColorConstants.tooltipBackground);
		setForegroundColor(ColorConstants.blue);
		setOpaque(true);
	}
}
